//
//  LXM_DataDownloadTools.h
//  UILesson17_imageDownloader
//
//  Created by 刘晓萌 on 15/10/29.
//  Copyright © 2015年 刘晓萌. All rights reserved.
//

#import <Foundation/Foundation.h>
typedef enum{
    POST,
    GET
}urlMethod;

typedef void(^OptionBlock)(NSData *data);

@interface LXM_DataDownloadTools : NSObject

+(void)downloadDataWithURL:(NSString *)urlString andMethod:(urlMethod )method andBody:(NSString *)body andBlock:(OptionBlock)block;

@end
